package com.heima.wemedia.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.NewsAuditDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.NewsAuthDTO;
import com.heima.model.wemedia.dtos.WmNewsDTO;
import com.heima.model.wemedia.dtos.WmNewsPageReqDTO;
import com.heima.model.wemedia.pojos.WmNews;
public interface WmNewsService extends IService<WmNews> {
    /**
     * 查询所有自媒体文章
     * @return
     */
    public ResponseResult findList(WmNewsPageReqDTO dto);

    ResponseResult submit(WmNewsDTO dto);

    ResponseResult deleteNews(Integer id);

    ResponseResult downOrUp(WmNewsDTO dto);

    ResponseResult listVo(NewsAuthDTO dto);

    ResponseResult newsPass(NewsAuthDTO dto);

    ResponseResult newsFail(NewsAuthDTO dto);
}